package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 预约对象 reservation
 * 
 * @author ruoyi
 * @date 2025-03-18
 */
public class Reservation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long reservationId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reservationTime;

    /** 教练id */
    @Excel(name = "教练id")
    private Long coachId;

    /** 状态 */
    @Excel(name = "状态")
    private Long reservationState;

    /** $column.columnComment */
    private String reservation1;

    /** $column.columnComment */
    private String reservation2;

    /** $column.columnComment */
    private String reservation3;

    public void setReservationId(Long reservationId) 
    {
        this.reservationId = reservationId;
    }

    public Long getReservationId() 
    {
        return reservationId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setReservationTime(Date reservationTime) 
    {
        this.reservationTime = reservationTime;
    }

    public Date getReservationTime() 
    {
        return reservationTime;
    }

    public void setCoachId(Long coachId) 
    {
        this.coachId = coachId;
    }

    public Long getCoachId() 
    {
        return coachId;
    }

    public void setReservationState(Long reservationState) 
    {
        this.reservationState = reservationState;
    }

    public Long getReservationState() 
    {
        return reservationState;
    }

    public void setReservation1(String reservation1) 
    {
        this.reservation1 = reservation1;
    }

    public String getReservation1() 
    {
        return reservation1;
    }

    public void setReservation2(String reservation2) 
    {
        this.reservation2 = reservation2;
    }

    public String getReservation2() 
    {
        return reservation2;
    }

    public void setReservation3(String reservation3) 
    {
        this.reservation3 = reservation3;
    }

    public String getReservation3() 
    {
        return reservation3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reservationId", getReservationId())
            .append("userId", getUserId())
            .append("courseId", getCourseId())
            .append("reservationTime", getReservationTime())
            .append("coachId", getCoachId())
            .append("reservationState", getReservationState())
            .append("reservation1", getReservation1())
            .append("reservation2", getReservation2())
            .append("reservation3", getReservation3())
            .toString();
    }
}
